﻿<%@ control language="VB" autoeventwireup="false" inherits="controls_DirectInvoice, App_Web_vfbk0y9u" %>
<table width="650">
    <tr>
        <td class="footerItem" style="height: 30px">
            <table cellpadding="0" cellspacing="0" style="width: 100%">
                <tr>
                    <td>&nbsp;
            <asp:Label ID="lblTituloBeneficiario" runat="server" Font-Bold="True" ForeColor="White"
                Text="Datos del beneficiario"></asp:Label></td>
                    <td align="right">
                        <asp:Label ID="lblInfoAcumululado" runat="server" ForeColor="Yellow"></asp:Label>&nbsp;
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr id="trViewBnG" runat="server">
        <td>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="width: 450px">
                        <table cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td align="left" style="width: 100px">
                                    Nombre:</td>
                                <td align="left">
                                    <asp:Label ID="lblPreNombre" runat="server" Font-Bold="True"></asp:Label></td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 100px">
                                    Direccion:</td>
                                <td align="left">
                                    <asp:Label ID="lblPreDireccion" runat="server" Font-Bold="True"></asp:Label></td>
                            </tr>
                            <tr>
                                <td id="tdPreBarrio" runat="server" align="left" style="width: 100px; height: 21px">
                                    Barrio/CPF:</td>
                                <td align="left" style="height: 21px">
                                    <asp:Label ID="lblPreBarrio" runat="server" Font-Bold="True"></asp:Label></td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 100px">
                                    Pais:</td>
                                <td>
                                    <table cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td align="left">
                                                <asp:Label ID="lblPrePais" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td align="center">
                                                Ciudad:</td>
                                            <td align="left">
                                                <asp:Label ID="lblPreCiudad" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 100px">
                                    Telefono:</td>
                                <td>
                                    <table cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td align="left">
                                                <asp:Label ID="lblPreTel1" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td align="center">
                                                Telefono2:</td>
                                            <td align="left">
                                                <asp:Label ID="lblPreTel2" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 100px">
                                    Cuenta:</td>
                                <td align="left">
                                    <asp:DropDownList ID="cmbPreCuenta" runat="server" Width="98%">
                                    </asp:DropDownList></td>
                            </tr>
                        </table>
                    </td>
                    <td align="center" valign="top">
                        <asp:TextBox ID="lblIntruccionesGiro" runat="server" Rows="8" TextMode="MultiLine"
                            Width="99%" BorderWidth="0px"></asp:TextBox></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr id="trOpcionesPlus" runat="server">
        <td align="center" height="35" valign="middle">
            <table background="Img/top_nav_back.jpg" width="100%">
                <tr>
                    <td style="width: 100px">
                        <asp:Label ID="lblComision" runat="server" Text="Cargo:" ForeColor="White"></asp:Label></td>
                    <td style="width: 50px">
                        <asp:TextBox ID="txtComision" runat="server" Width="40px" CssClass="smalltextbox" MaxLength="4" ToolTip="Comision forzada para este giro"></asp:TextBox></td>
                    <td style="width: 100px">
                        &nbsp;<asp:Label ID="lblCambio" runat="server" ForeColor="White" Text="Cambio:"></asp:Label></td>
                    <td style="width: 100px">
                        &nbsp;<asp:TextBox ID="txtCambio" runat="server" Width="40px" CssClass="smalltextbox" MaxLength="1" ToolTip="Cambio forzado para este giro"></asp:TextBox></td>
                    <td style="width: 100px">
                        <asp:Label ID="lblOrigen" runat="server" ForeColor="White" Text="Origen:" Width="40px"></asp:Label></td>
                    <td style="width: 100px">
                        <asp:DropDownList ID="cmbOrigen1" runat="server" ToolTip="Origen de captacion" AutoPostBack="True">
                        </asp:DropDownList></td>
                    <td style="width: 100px">
                        <asp:Label ID="lblOrigen2" runat="server" ForeColor="White" Text="Detalle:"></asp:Label></td>
                    <td style="width: 100px">
                        <asp:TextBox ID="txtOrigen2" runat="server" Width="80px" CssClass="smalltextbox" MaxLength="15" ToolTip="Informacion adicional (Numero de tarjeta) (Oficina bancaria)"></asp:TextBox></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr id="trCalculadora" runat="server">
        <td>
            <table id="TableOpts" background="Img/top_nav_back.jpg" border="0" cellpadding="0"
                cellspacing="0" width="100%">
                <tr>
                    <td class="cellContent" style="height: 45px">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td style="height: 19px">
                                    <div id="lblCobroEn" runat="server" class="cellContent">
                                        <strong>
                                            <nobr>
                                                <font color="white">Cobro en</font></nobr></strong></div>
                                </td>
                                <td style="height: 19px">
                                    <img height="1" src='<%= Page.ResolveUrl("~/img/spacer.gif") %>' width="8" />
                                </td>
                                <td style="height: 19px">
                                    <div id="lblPagoEn" runat="server" class="cellContent">
                                        <strong>
                                            <nobr>
                                                <font color="white">Pago en</font></nobr></strong></div>
                                </td>
                                <td style="height: 19px; width: 14px;">
                                    <img height="1" src='<%= Page.ResolveUrl("~/img/spacer.gif") %>' width="8" />
                                </td>
                                <td style="height: 19px">
                                    <div id="lblimporte" runat="server" class="cellContent">
                                        <strong>
                                            <nobr>
                                                <font color="white">Importe</font></nobr></strong></div>
                                </td>
                                <td style="height: 19px">
                                    <img height="1" src='<%= Page.ResolveUrl("~/img/spacer.gif") %>' width="8" />
                                </td>
                                <td style="height: 19px">
                                    <div id="lblOpciones" runat="server" class="cellContent">
                                        <nobr>
                                            <strong><font color="white">Opciones</font></strong></nobr></div>
                                </td>
                                <td style="height: 19px">
                                    <img height="1" src='<%= Page.ResolveUrl("~/img/spacer.gif") %>' width="8" />
                                </td>
                                <td style="height: 19px">
                                    <div id="lblTipoDeGiro" runat="server" class="cellContent">
                                        <nobr>
                                            <strong><font color="white">Tipo de Giro</font></strong></nobr></div>
                                </td>
                                <td style="height: 19px">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="height: 24px">
                                    <asp:DropDownList ID="lsCobro" runat="server" CssClass="smalltextbox" Width="100%">
                                    </asp:DropDownList></td>
                                <td style="height: 24px">
                                    <img height="1" src='<%= Page.ResolveUrl("~/img/spacer.gif") %>' width="8" />
                                </td>
                                <td style="height: 24px">
                                    <asp:DropDownList ID="lsPagoEn" runat="server" CssClass="smalltextbox" Width="100%">
                                    </asp:DropDownList></td>
                                <td style="height: 24px; width: 14px;">
                                    <img height="1" src='<%= Page.ResolveUrl("~/img/spacer.gif") %>' width="8" />
                                </td>
                                <td style="height: 24px">
                                    <asp:TextBox ID="txtImporte" runat="server" Columns="4" CssClass="smalltextbox" Style="text-align: center"
                                        Width="100%"></asp:TextBox></td>
                                <td style="height: 24px">
                                    <img height="1" src='<%= Page.ResolveUrl("~/img/spacer.gif") %>' width="8" />
                                </td>
                                <td style="height: 24px">
                                    <asp:DropDownList ID="lsOption" runat="server" CssClass="smalltextbox" Width="100%">
                                    </asp:DropDownList></td>
                                <td style="height: 24px">
                                    <img height="1" src='<%= Page.ResolveUrl("~/img/spacer.gif") %>' width="8" />
                                </td>
                                <td style="height: 24px">
                                    <asp:DropDownList ID="lsTipoGiro" runat="server" CssClass="smalltextbox" Width="100%">
                                    </asp:DropDownList></td>
                                <td style="height: 24px">
                                    <img height="1" src='<%= Page.ResolveUrl("~/img/spacer.gif") %>' width="8" />
                                </td>
                                <td style="height: 24px">
                                    <asp:LinkButton ID="btnCalcular" runat="server" CssClass="navanchordark"><STRONG><font color=white>Calcular</font></STRONG></asp:LinkButton></td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <asp:GridView ID="GVCalc" runat="server" AutoGenerateColumns="False" CellPadding="2"
                ForeColor="#333333" GridLines="None" Width="100%">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:BoundField DataField="NOMCorresponsal" HeaderText="Corresponsal">
                        <ItemStyle Font-Bold="True" HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="CambioNL" DataFormatString="{0:n4}" HeaderText="Cambio"
                        HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Right" Font-Bold="True" ForeColor="Green" />
                        <HeaderStyle HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ENVIADO" DataFormatString="{0:n2}" HeaderText="Nominal"
                        HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Right" ForeColor="#0000C0" />
                        <HeaderStyle HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="CARGO" DataFormatString="{0:n2}" HeaderText="Cargo" HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Right" ForeColor="#0000C0" />
                        <HeaderStyle HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Total" DataFormatString="{0:n2}" HeaderText="Total" HtmlEncode="False">
                        <ItemStyle Font-Bold="True" HorizontalAlign="Right" ForeColor="#0000C0" />
                        <HeaderStyle HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Entregar" DataFormatString="{0:n2}" HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Right" />
                        <HeaderStyle HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="NombreMonedaPago" HeaderText="En destino">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:TemplateField ShowHeader="False">
                        <ItemStyle HorizontalAlign="Right" />
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandArgument='<%# bind("CodCorresponsal") %>'
                                CommandName="Select" Text="Seleccionar"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <EditRowStyle BackColor="#999999" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" CssClass="HeadGV" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td>
            <asp:GridView ID="GvPP" runat="server" AutoGenerateColumns="False" CellPadding="0"
                ForeColor="#333333" GridLines="None" Width="100%">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:BoundField DataField="OFDIreccion" HeaderText="Direccion">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="OFMasDatos" HeaderText="Mas datos">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="OfDelegacion" HeaderText="Observaciones">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:TemplateField ShowHeader="False">
                        <ItemStyle HorizontalAlign="Right" />
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandArgument='<%# bind("OFId") %>'
                                CommandName="Select" Text="Continuar"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <EditRowStyle BackColor="#999999" />
                <SelectedRowStyle BackColor="White" Font-Bold="False" ForeColor="#000003" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" CssClass="HeadGV" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td>
            <table id="tblConfirma" runat="server" border="0" cellpadding="0" cellspacing="0"
                visible="false" width="100%">
                <tr>
                    <td class="footerItem" style="width: 100%; height: 19px">
                        <asp:Label ID="Label2" runat="server" Font-Bold="True" ForeColor="white" Text="Confirmar los datos de la operacion"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 100%">
                        <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="Por favor, verifique que estos datos sean correctos, si no lo son puede regresar y corregir cualquiera de ellos, además puede incluir un mensaje para el beneficiario y una observación de la Operación en curso, si elige grabar, será cursada en su totalidad la Operación actual."></asp:Label></td>
                </tr>
                <tr align="center" valign="top">
                    <td style="width: 100%">
                    </td>
                </tr>
                <tr>
                    <td style="width: 100%">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label4" runat="server" Text="Mensaje del remitente al beneficiario:"></asp:Label>
                                    </td>
                                <td align="left">
                                    <asp:TextBox ID="txtMensaje" runat="server" MaxLength="80" Width="98%"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label5" runat="server" Text="Observaciones de esta operacion:"></asp:Label></td>
                                <td align="left">
                                    <asp:TextBox ID="txtObservaciones" runat="server" MaxLength="80" Width="98%"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label6" runat="server" Text="Concepto:"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="cmbConcepto" runat="server">
                                    </asp:DropDownList></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr id="trListaCuentas" runat="server">
                    <td align="right" class="footerItem" style="width: 100%; height: 27px;">
                        <table cellpadding="0" cellspacing="0" style="width: 650px">
                            <tr>
                                <td style="width: 325px; color: white;">
                                    <asp:CheckBox ID="chkSospechosa" runat="server" ForeColor="white" Text="Notificar como operacion sospechosa"
                                        ToolTip="Avisar a la oficina central que esta es una operacion sospechosa" /></td>
                                <td align="right" style="width: 325px">
                        <asp:Button ID="cmdCancelar" runat="server" CssClass="Butt" OnClick="cmdCancelar_Click"
                            Text="Cancelar" />
                        <asp:Button ID="cmdVolver" runat="server" CssClass="Butt" OnClick="cmdVolver_Click"
                            Text="Volver" />
                        <asp:Button ID="cmdGrabar" runat="server" CssClass="Butt" OnClick="cmdGrabar_Click"
                            Text="Enviar e imprimir" />&nbsp;</td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100%">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblError" runat="server" BackColor="Red" Font-Bold="True" ForeColor="White"
                Width="100%"></asp:Label></td>
    </tr>
</table>
